package com.zc.app.sys.dao.mapper;

import com.zc.app.sys.dao.peer.SystemMenuPeer;
import com.zc.app.sys.dao.peer.SystemMenuPeerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SystemMenuPeerMapper {
    long countByExample(SystemMenuPeerExample example);

    int deleteByExample(SystemMenuPeerExample example);

    int deleteByPrimaryKey(Integer menuId);

    int insert(SystemMenuPeer record);

    int insertSelective(SystemMenuPeer record);

    List<SystemMenuPeer> selectByExample(SystemMenuPeerExample example);

    public List<SystemMenuPeer> getAllMenu();

    public List<SystemMenuPeer> getParentMenu();

    public List<SystemMenuPeer> getMenus(SystemMenuPeer menuPeer);

    SystemMenuPeer selectByPrimaryKey(Integer menuId);

    int updateByExampleSelective(@Param("record") SystemMenuPeer record, @Param("example") SystemMenuPeerExample example);

    int updateByExample(@Param("record") SystemMenuPeer record, @Param("example") SystemMenuPeerExample example);

    int updateByPrimaryKeySelective(SystemMenuPeer record);

    int updateByPrimaryKey(SystemMenuPeer record);
}